<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2019-11-25
  Time: 11:46
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
    String path = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort();
%>
<html>
<head>
    <title>查看所有的用户</title>
</head>
<body>

    <h1>查询所有的用户</h1>
    <table border="1px">
        <tr>
            <th>用户名</th>
            <th>用户密码</th>
            <th>用户手机</th>
        </tr>
        <c:forEach var="user" items="${userlist}">
            <tr>
                <td>${user.name}</td>
                <td>${user.password}</td>
                <td>${user.phone}</td>
            </tr>
        </c:forEach>
    </table>

</body>
</html>
